<div class="top-right-info">
<div class='row'>
	
	<a>
		<img src='<?php echo MyConstans::getHostLanpath(). 'cam.png';?>' title='Campuchia'/>
	</a>
	<a>
		<img src='<?php echo MyConstans::getHostLanpath(). 'en.png';?>' title='English'/>
	</a>
	<a>
		<img src='<?php echo MyConstans::getHostLanpath(). 'vi.png';?>' title='Việt Nam'/>
	</a>
	</div>
	<div class='row'>
		<?php
		if(!Yii::app()->user->isGuest){
			echo '<hint>'. UserUtils::getLoginDisplayUserName(). ', ';
			
				echo ' Credit: ';
				$credit = Credit::model()->findByAttributes(array('iduser'=>Yii::app()->user->getId()->id));
				if( $credit != null){			
					echo  $credit->sodu;
				}else{
					echo '0';
				}
				echo  '</hint>';
			
		}
		?>
	</div>
</div>